<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibTools: SocketData结构体 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibTools
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.16 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="struct_socket_data-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">SocketData结构体 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>套接口数据  
 <a href="struct_socket_data.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="_sock_data_8h_source.html">SockData.h</a>&gt;</code></p>
<div class="dynheader">
类 SocketData 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="struct_socket_data.png" usemap="#SocketData_map" alt=""/>
  <map id="SocketData_map" name="SocketData_map">
<area href="struct_udp_socket_data.html" title="UDP专用套接口数据" alt="UdpSocketData" shape="rect" coords="0,56,98,80"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a1448e9224cb7f16b19f248ffc9bc1c03"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_socket_data.html#a1448e9224cb7f16b19f248ffc9bc1c03">SocketData</a> ()</td></tr>
<tr class="separator:a1448e9224cb7f16b19f248ffc9bc1c03"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa85ad0d9e9974ea7fd58d46e4fb23f2d"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_socket_data.html#aa85ad0d9e9974ea7fd58d46e4fb23f2d">~SocketData</a> ()</td></tr>
<tr class="separator:aa85ad0d9e9974ea7fd58d46e4fb23f2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa0cbbd364bc5e208a1fcd524016dba1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_socket_data.html#aaa0cbbd364bc5e208a1fcd524016dba1">delete_class_copy_operator</a> (<a class="el" href="struct_socket_data.html">SocketData</a>)</td></tr>
<tr class="separator:aaa0cbbd364bc5e208a1fcd524016dba1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:a62c02017570cd96f26a03cd06f4e4241"><td class="memItemLeft" align="right" valign="top"><a class="el" href="tools_8h.html#aff55fe551a9992a54ec54621c524d0a4">SOCKET</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_socket_data.html#a62c02017570cd96f26a03cd06f4e4241">_sock</a></td></tr>
<tr class="memdesc:a62c02017570cd96f26a03cd06f4e4241"><td class="mdescLeft">&#160;</td><td class="mdescRight">套接字  <a href="struct_socket_data.html#a62c02017570cd96f26a03cd06f4e4241">更多...</a><br /></td></tr>
<tr class="separator:a62c02017570cd96f26a03cd06f4e4241"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4785e336958b99b727152864bcb6eb64"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_s_o_c_k_t_y_p_e.html#ab1b532206487defe92ed4eeae94b488c">SOCKTYPE::SockType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_socket_data.html#a4785e336958b99b727152864bcb6eb64">_type</a></td></tr>
<tr class="memdesc:a4785e336958b99b727152864bcb6eb64"><td class="mdescLeft">&#160;</td><td class="mdescRight">套接字类型  <a href="struct_socket_data.html#a4785e336958b99b727152864bcb6eb64">更多...</a><br /></td></tr>
<tr class="separator:a4785e336958b99b727152864bcb6eb64"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad15841c2a9a6343850b9c6885159a7f7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_s_o_c_k_p_r_o_t_o_c_o_l.html#a6fcb9a12773185f3ca183ad967bb672e">SOCKPROTOCOL::SockProtocol</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_socket_data.html#ad15841c2a9a6343850b9c6885159a7f7">_protocol</a></td></tr>
<tr class="memdesc:ad15841c2a9a6343850b9c6885159a7f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">套接字协议  <a href="struct_socket_data.html#ad15841c2a9a6343850b9c6885159a7f7">更多...</a><br /></td></tr>
<tr class="separator:ad15841c2a9a6343850b9c6885159a7f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96788b03903c266a6bc93a639c7ccb8e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_c_sock_addr.html">CSockAddr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_socket_data.html#a96788b03903c266a6bc93a639c7ccb8e">_sockaddr</a></td></tr>
<tr class="memdesc:a96788b03903c266a6bc93a639c7ccb8e"><td class="mdescLeft">&#160;</td><td class="mdescRight">地址信息  <a href="struct_socket_data.html#a96788b03903c266a6bc93a639c7ccb8e">更多...</a><br /></td></tr>
<tr class="separator:a96788b03903c266a6bc93a639c7ccb8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0eb63e369865fb4ac2fde0bd0b98630"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_shared_ptr.html">SharedPtr</a>&lt; <a class="el" href="struct_sock_data_buffer.html">SockDataBuffer</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_socket_data.html#aa0eb63e369865fb4ac2fde0bd0b98630">_pServerBuf</a></td></tr>
<tr class="memdesc:aa0eb63e369865fb4ac2fde0bd0b98630"><td class="mdescLeft">&#160;</td><td class="mdescRight">内部使用  <a href="struct_socket_data.html#aa0eb63e369865fb4ac2fde0bd0b98630">更多...</a><br /></td></tr>
<tr class="separator:aa0eb63e369865fb4ac2fde0bd0b98630"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ffff3c8536ece3b087e0ff5c4827b8e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_c_basic_service.html">CBasicService</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_socket_data.html#a4ffff3c8536ece3b087e0ff5c4827b8e">_pServer</a></td></tr>
<tr class="memdesc:a4ffff3c8536ece3b087e0ff5c4827b8e"><td class="mdescLeft">&#160;</td><td class="mdescRight">绑定的tcp服务基类  <a href="struct_socket_data.html#a4ffff3c8536ece3b087e0ff5c4827b8e">更多...</a><br /></td></tr>
<tr class="separator:a4ffff3c8536ece3b087e0ff5c4827b8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>套接口数据 </p>

<p class="definition">在文件 <a class="el" href="_sock_data_8h_source.html">SockData.h</a> 第 <a class="el" href="_sock_data_8h_source.html#l00029">29</a> 行定义.</p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="a1448e9224cb7f16b19f248ffc9bc1c03"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1448e9224cb7f16b19f248ffc9bc1c03">&#9670;&nbsp;</a></span>SocketData()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">SocketData::SocketData </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_sock_data_8h_source.html">SockData.h</a> 第 <a class="el" href="_sock_data_8h_source.html#l00037">37</a> 行定义.</p>

</div>
</div>
<a id="aa85ad0d9e9974ea7fd58d46e4fb23f2d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa85ad0d9e9974ea7fd58d46e4fb23f2d">&#9670;&nbsp;</a></span>~SocketData()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual SocketData::~SocketData </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_sock_data_8h_source.html">SockData.h</a> 第 <a class="el" href="_sock_data_8h_source.html#l00045">45</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="aaa0cbbd364bc5e208a1fcd524016dba1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaa0cbbd364bc5e208a1fcd524016dba1">&#9670;&nbsp;</a></span>delete_class_copy_operator()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SocketData::delete_class_copy_operator </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_socket_data.html">SocketData</a>&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="ad15841c2a9a6343850b9c6885159a7f7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad15841c2a9a6343850b9c6885159a7f7">&#9670;&nbsp;</a></span>_protocol</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespace_s_o_c_k_p_r_o_t_o_c_o_l.html#a6fcb9a12773185f3ca183ad967bb672e">SOCKPROTOCOL::SockProtocol</a> SocketData::_protocol</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>套接字协议 </p>

<p class="definition">在文件 <a class="el" href="_sock_data_8h_source.html">SockData.h</a> 第 <a class="el" href="_sock_data_8h_source.html#l00033">33</a> 行定义.</p>

</div>
</div>
<a id="a4ffff3c8536ece3b087e0ff5c4827b8e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4ffff3c8536ece3b087e0ff5c4827b8e">&#9670;&nbsp;</a></span>_pServer</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_c_basic_service.html">CBasicService</a>* SocketData::_pServer</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>绑定的tcp服务基类 </p>

<p class="definition">在文件 <a class="el" href="_sock_data_8h_source.html">SockData.h</a> 第 <a class="el" href="_sock_data_8h_source.html#l00036">36</a> 行定义.</p>

</div>
</div>
<a id="aa0eb63e369865fb4ac2fde0bd0b98630"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa0eb63e369865fb4ac2fde0bd0b98630">&#9670;&nbsp;</a></span>_pServerBuf</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_shared_ptr.html">SharedPtr</a>&lt;<a class="el" href="struct_sock_data_buffer.html">SockDataBuffer</a>&gt; SocketData::_pServerBuf</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>内部使用 </p>

<p class="definition">在文件 <a class="el" href="_sock_data_8h_source.html">SockData.h</a> 第 <a class="el" href="_sock_data_8h_source.html#l00035">35</a> 行定义.</p>

</div>
</div>
<a id="a62c02017570cd96f26a03cd06f4e4241"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a62c02017570cd96f26a03cd06f4e4241">&#9670;&nbsp;</a></span>_sock</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="tools_8h.html#aff55fe551a9992a54ec54621c524d0a4">SOCKET</a> SocketData::_sock</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>套接字 </p>

<p class="definition">在文件 <a class="el" href="_sock_data_8h_source.html">SockData.h</a> 第 <a class="el" href="_sock_data_8h_source.html#l00031">31</a> 行定义.</p>

</div>
</div>
<a id="a96788b03903c266a6bc93a639c7ccb8e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a96788b03903c266a6bc93a639c7ccb8e">&#9670;&nbsp;</a></span>_sockaddr</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_c_sock_addr.html">CSockAddr</a> SocketData::_sockaddr</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>地址信息 </p>

<p class="definition">在文件 <a class="el" href="_sock_data_8h_source.html">SockData.h</a> 第 <a class="el" href="_sock_data_8h_source.html#l00034">34</a> 行定义.</p>

</div>
</div>
<a id="a4785e336958b99b727152864bcb6eb64"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4785e336958b99b727152864bcb6eb64">&#9670;&nbsp;</a></span>_type</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespace_s_o_c_k_t_y_p_e.html#ab1b532206487defe92ed4eeae94b488c">SOCKTYPE::SockType</a> SocketData::_type</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>套接字类型 </p>

<p class="definition">在文件 <a class="el" href="_sock_data_8h_source.html">SockData.h</a> 第 <a class="el" href="_sock_data_8h_source.html#l00032">32</a> 行定义.</p>

</div>
</div>
<hr/>该结构体的文档由以下文件生成:<ul>
<li>H:/project/LibTools/src/socket/internal/<a class="el" href="_sock_data_8h_source.html">SockData.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
